package net.lzzy.gitdemo;
import java.io.*;

public class Java_demo6 {
    public static void main(String[] args) throws ClassNotFoundException, IOException{
        try (
                ObjectInputStream input =
                        new ObjectInputStream(new FileInputStream("object.dat"));
                ){
            String name = input.readUTF();
            double score = input.readDouble();
            java.util.Date data = (java.util.Date)(input.readObject());
            System.out.println(name+" "+ score +" "+ data);
        }
    }

}
